import service from "@/utils/reuqest"

export const downloadContact = (id: number) => {
  return service.request<null,Blob>({
    method: 'GET',
    url: `/download/${id}`,
    responseType:'blob' // 把二进制数据流换成blob对象,用于下载
  })
}